/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Billing.Model
{

    /// <summary>
    ///  orderPriceDetail
    /// </summary>
    public class OrderPriceDetail
    {

        ///<summary>
        /// 折扣前总价
        ///</summary>
        public double? Price{ get; set; }
        ///<summary>
        /// 四位小数价格
        ///</summary>
        public double? PriceScale4{ get; set; }
        ///<summary>
        /// 折扣金额
        ///</summary>
        public double? Discount{ get; set; }
        ///<summary>
        /// 折扣后订单金额
        ///</summary>
        public double? DiscountedPrice{ get; set; }
        ///<summary>
        /// 订单原价 包年时 一年原价为12个月价格，totalPrice为10个月价格
        ///</summary>
        public double? OriginalPrice{ get; set; }
        ///<summary>
        /// 资源id
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// 业务线
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 产品线
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// 站点  0:主站  其他:专有云
        ///</summary>
        public int? Site{ get; set; }
        ///<summary>
        /// 地域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 计费类型1:按配置2:按用量3:包年包月
        ///</summary>
        public int? BillingType{ get; set; }
        ///<summary>
        /// 时长
        ///</summary>
        public int? TimeSpan{ get; set; }
        ///<summary>
        /// 时长类型 1:小时2:天3:月4:年
        ///</summary>
        public int? TimeUnit{ get; set; }
        ///<summary>
        /// 网络类型 0:non1:非BGP2:BGP
        ///</summary>
        public int? NetworkOperator{ get; set; }
        ///<summary>
        /// 配置信息
        ///</summary>
        public List<Formula> Formula{ get; set; }
        ///<summary>
        /// FavorableInfo转成json后的字符串
        ///</summary>
        public string FavorableInfo{ get; set; }
        ///<summary>
        /// 价格快照
        ///</summary>
        public string PriceSnapShot{ get; set; }
        ///<summary>
        /// 用户pin
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 自然单列表
        ///</summary>
        public string TaskId{ get; set; }
        ///<summary>
        /// 开始时间
        ///</summary>
        public string StartTime{ get; set; }
        ///<summary>
        /// 结束时间
        ///</summary>
        public string EndTime{ get; set; }
        ///<summary>
        /// 变配明细（1-升配补差价，2-降配延时，3-临时升配）
        ///</summary>
        public int? ProcessType{ get; set; }
        ///<summary>
        /// 交易单模块sourceId
        ///</summary>
        public string SourceId{ get; set; }
    }
}
